﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace D.Medicalcare.Domain.Entities
{
    /// <summary>
    /// Message(消息公告表)
    /// </summary>
    public class Message
    {
        /// <summary>
        /// 主键
        /// </summary>
        [Key] 
        public int MessageId { get; set; }
        /// <summary>
        /// 通知标题
        /// </summary>
        public string? Title {  get; set; }
        /// <summary>
        /// 内容
        /// </summary>
        public string? Content { get; set; }
        /// <summary>
        /// 上传者
        /// </summary>
        public string? CreateName { get; set; }
        /// <summary>
        /// 上传时间
        /// </summary>
        public string? CreateTime { get; set; }
        /// <summary>
        /// 状态
        /// </summary>
        public bool Statue { get; set; }
        /// <summary>
        /// 删除标记
        /// </summary>
        public bool IsDeleted {  get; set; }
    }
}
